-- GENERATED SPELL FOR [Cult Conspirator] --


function spell0_33537(pUnit, Event) --@Expose Armor,n/a--
pUnit:FullCastSpellOnTarget(60842,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33537', 15000, 1)
end

function spell1_33537(pUnit, Event) --@Sinister Strike,n/a--
pUnit:FullCastSpellOnTarget(14873,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33537', 624, 1)
end

function Sorts_33537(pUnit, Event)
local choix_sorts_33537 = math.random(0, 1)
if choix_sorts_33537 == 0 then
pUnit:RegisterEvent('spell0_33537', 1, 1)
end
if choix_sorts_33537 == 1 then
pUnit:RegisterEvent('spell1_33537', 1, 1)
end
end

function mob33537_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33537', math.random(1500, 3000), 1)
end

function mob33537_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33537_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33537_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33537, 1, 'mob33537_Action')
RegisterUnitEvent(33537, 2, 'mob33537_Leave')
RegisterUnitEvent(33537, 3, 'mob33537_Kill')
RegisterUnitEvent(33537, 4, 'mob33537_Die')
